
*** Settings ***
Library    Browser
*** Variables ***
${navigation_Reports}    xpath = //a[.='Reports']
${navigation_Success_Ratio_Report}    xpath = //a[.='Success Ratio Report']
${navigation_Rate_Comparison_Report}    xpath = //a[.='Rate Comparison Report']
${navigation_Deadline_Time_Report}    xpath = //a[.='Deadline Time Report']
${navigation_Transit_Time_Report}     xpath = //a[.='Transit Time Report']
${title_Success_Ratio_Report}    xpath = //h1[.='Success Ratio Report']
${title_Rate_Comparison_Report}    xpath = //h1[.='Rate Comparison Report']
${title_Deadline_Time_Report}    xpath = //h1[.='Deadline Time Report']
${title_Transit_Time_Report}    xpath = //h1[.='Transit Time Report']
${report_Air}    //input[@name='queryCondition.mode'][@value='AIR']
${report_FCL}    //input[@name='queryCondition.mode'][@value='FCL']
${report_LCL}    //input[@name='queryCondition.mode'][@value='LCL']
${report_Specified_Date_Checkbox_Name}    //label[.="Exchange Rate"]/following::label[1]
${report_Defined_by_File_Checkbox_Name}    //label[.="Exchange Rate"]/following::label[2]
${report_upload}    //input[@value="Upload"]
${report_RFQ_Date_Type}    //select[@name='launchDate']
${report_RFQ_Date_From}    //div[@id="rangeFrom"]//input
${report_RFQ_Date_To}    //div[@id="rangeTo"]//input
${report_Basic_Currency}    //select[@id='basicCurrency']
${report_Rate_Comparison_Basic_Currency}    //select[@data-ng-model="queryCondition.basicCurrency"]
${report_vertical_Market}    //input[@id='verticalMarket']
${report_customer}    //input[@id='customer']
${report_origin_Region}    //input[@id='originRegion']
${report_destination_Region}    //input[@id='destinationRegion']
${report_origin_Cluster}    //input[@id='originCluster']
${report_destination_Cluster}    //input[@id='destinationCluster']
${report_origin_Country}    //input[@id='originCountry']
${report_destination_Country}    //input[@id='destinationCountry']
${report_origin_Airport}    //input[@id='originAirport']
${report_destination_Airport}    //input[@id='destinationAirport']
${report_origin_Gateway}    //input[@id='originGateway']
${report_destination_Gateway}    //input[@id='destinationGateway']
${report_service_Level}    //input[@id='serviceLevel']
${report_Reset}    //button[contains(text(),'Reset')]
${report_General_Report_Checkbox}    //input[@type="checkbox"][@data-ng-model="downloadReportSwitch.general"]
${report_Detailed_Report_Checkbox}    //input[@type="checkbox"][@data-ng-model="downloadReportSwitch.detail"]
${report_Generate_Report}    //button[contains(text(),'Generate Report')]
# Customer Data Tab in Rate Comparison Report
${report_Rate_Comparison_Customer_Data_Tab}    //a[.="Customer Data"]
${report_Rate_Comparison_Lane_Number}    //label[@data-uib-tooltip="Lane Number"]/input
${report_Rate_Comparison_Postal_Code}    //label[@data-uib-tooltip="Postal Code"]/input
${report_Rate_Comparison_Commodity}    //label[@data-uib-tooltip="Commodity"]/input
${report_Rate_Comparison_Volume_as_per_validity_period}    //label[@data-uib-tooltip="Volume (as per validity period)"]/input
${report_Rate_Comparison_Remarks}    //label[@data-uib-tooltip="Remarks"]/input
${report_Rate_Comparison_Remarks}    //label[@data-uib-tooltip="DGR"]/input
${report_Rate_Comparison_Customer_Target_Information}    //label[@data-uib-tooltip="Customer Target Information"]/input
${report_Rate_Comparison_Service Level Customer}    //label[@data-uib-tooltip="Service Level Customer"]/input
${report_Rate_Comparison_Description}    //label[@data-uib-tooltip="Service Level Customer"]/parent::div[1]//span[@data-uib-tooltip="Description"]
# Origin Charges tab in Rate Comparison Report
${report_Rate_Comparison_Origin_Charges_Tab}    //a[.="Origin Charges"]
${report_Rate_Comparison_Pick_up_Charges}    //label[@data-uib-tooltip="Pick up Charges"]/input
# Airfreight and Charges tab in Rate Comparison Report
${report_Rate_Comparison_Airfreight_and_Charges_Tab}    //a[.="Airfreight and Charges"]
${report_Rate_Comparison_Airfreight_Rate}    //label[@data-uib-tooltip="Airfreight Rate"]/input
# Destination Linehaul tab in Rate Comparison Report
${report_Rate_Comparison_Destination_Linehaul_Tab}    //a[.="Destination Linehaul"]
${report_Rate_Comparison_In-Transit_Handling}    //label[@data-uib-tooltip="In-Transit Handling (via LAX/MIA only)"]/input
${report_Rate_Comparison_Destination Linehaul}    //label[@data-uib-tooltip="Destination Linehaul"]/input
# Destination Charges tab in Rate Comparison Report
${report_Rate_Comparison_Destination_Charges_Tab}    //a[.="Destination Charges"]
${report_Rate_Comparison_Delivery_Charges}    //label[@data-uib-tooltip="Delivery Charges"]/input
${report_Rate_Comparison_Delivery_Transit_Time_in_hours}    //label[@data-uib-tooltip="Delivery Transit Time in hours"]/input
${report_Rate_Comparison_FTL_Full_Truck_Load}    //label[@data-uib-tooltip="Delivery Transit Time in hours"]/parent::div/preceding::div[@class="form-group internalRules ng-scope"][1]/label/input
# Deadline Time Report
${report_Deadline_Time_Tender}    //input[@name='tenderStatus']
${report_Deadline_Time_region}    //input[@name='region']
${report_Deadline_Time_country}    //input[@id='country']
${report_Deadline_Time_Tender_Level_Label}    //label[.='Tender Level']
${report_Deadline_Time_Global_Checkbox}    //label[.='Tender Level']/following::input[@type="checkbox"][1]
${report_Deadline_Time_Region_Checkbox}    //label[.='Tender Level']/following::input[@type="checkbox"][2]
${report_Deadline_Time_Country_Checkbox}    //label[.='Tender Level']/following::input[@type="checkbox"][3]
${report_Deadline_Time_Cluster}    //input[@id='cluster']
${report_Search}     //button[contains(text(),'Search')]
${report_Download_Button}    //div[.='Download']
# Transit Time Report Tab
${report_tender_status}    //input[@id="tenderStatus"]
${report_Origin_Region}    //input[@id="originRegion"]
${report_destination_Region}    //input[@id="destinationRegion"]
${report_Origin_Cluster}    //input[@id="originCluster"]
${report_destination_Cluster}    //input[@id="destinationCluster"]
${report_origin_Country}    //input[@id="originCountry"]
${report_destination_Country}    //input[@id="destinationCountry"]
${report_origin_Airport}    //input[@id="originAirport"]
${report_destination_Airport}    //input[@id="destinationAirport"]
${report_origin_Gateway}    //input[@id="originGateway"]
${report_destination_Gateway}    //input[@id="destinationGateway"]
${report_service_Level}    //input[@id="serviceLevel"]